package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.ICommissionManagementAddParam;
public class CommissionManagementAddParam implements ICommissionManagementAddParam {// 用户 id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer userId;
// 用户姓名（冗余）
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String userName;
// 可提现金额

private BigDecimal withdrawableAmount;
// 冻结金额

private BigDecimal freezeAmount;
// 总金额

private BigDecimal totalAmount;
// 推荐人数
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer recommenNum;



public Integer getUserId() {
        return userId;
    }
public void setUserId(Integer userId) {
        this.userId = userId;
    }
public String getUserName() {
        return userName;
    }
public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }
public BigDecimal getWithdrawableAmount() {
        return withdrawableAmount;
    }
public void setWithdrawableAmount(BigDecimal withdrawableAmount) {
        this.withdrawableAmount = withdrawableAmount;
    }
public BigDecimal getFreezeAmount() {
        return freezeAmount;
    }
public void setFreezeAmount(BigDecimal freezeAmount) {
        this.freezeAmount = freezeAmount;
    }
public BigDecimal getTotalAmount() {
        return totalAmount;
    }
public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }
public Integer getRecommenNum() {
        return recommenNum;
    }
public void setRecommenNum(Integer recommenNum) {
        this.recommenNum = recommenNum;
    }




}